import { DialogForm } from 'custom/index'
import { postZzhStop } from '../api'

const zzhStopDialog = new DialogForm('DialogForm')

zzhStopDialog.
    width('30%')
    .getApi(async (_, row) => {
        console.log(row);
        return row;
    }).postApi(postZzhStop)
    .useGroup('停用信息')
    .useDatePicker('jsrq').label('结束日期').required().end()

export { zzhStopDialog }